﻿using SharpArch.Core.DomainModel;
using SharpArch.Core.PersistenceSupport;
using NHibernate.Validator.Constraints;
using SharpArch.Core;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
using System.Collections.Generic;


namespace zeus.Core
{
  public  class Contacto: Entity
    {

      [Required(ErrorMessage = "Ingrese  Nombre")]
      [DisplayName("Nombre")]
      public virtual string Nombre { get; set; }

      [Required(ErrorMessage = "Ingrese  Telefono")]
      [DisplayName("Telefono")]
      public virtual string Telefono { get; set; }

      [Required(ErrorMessage = "Ingrese  Direccion")]
      [DisplayName("Direccion")]
      public virtual string Direccion { get; set; }

      [Required(ErrorMessage = "Ingrese  Email")]
      [DisplayName("Email")]
      public virtual string Email { get; set; }

      [Required(ErrorMessage = "Ingrese  Celular")]
      [DisplayName("Celular")]  
      public virtual string Celular { get; set; }

      [Required(ErrorMessage = "Ingrese  Observaciones")]
      [DisplayName("Observaciones")]
      public virtual string Observaciones { get; set; }

      [Required(ErrorMessage = "Ingrese  Codigo Cliente")]
      [DisplayName("Codigo Cliente")]  
      public virtual Cliente CodigoCliente { get; set; }

    }
}



